package org.project.single.pojo.vo.dict;

import lombok.Getter;
import lombok.Setter;
import net.bytebuddy.implementation.bind.annotation.Empty;
import org.stone.project.baseCommon.service.Insert;
import org.stone.project.baseCommon.service.Update;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Null;

@Getter
@Setter
public class DictTypeEditVo {
    @NotEmpty(message = "id不为空",groups = Update.class)
    private String id;

    /**
     * 编码
     */
    @NotEmpty(message = "code不为空",groups = Insert.class)
    private String code;

    /**
     * 名称
     */
    @NotEmpty(message = "name不为空")
    private String name;

    /**
     * 描述
     */
    @NotEmpty(message = "describStr不为空")
    private String describStr;
}
